const https = require('https');
const fs = require('fs');

const options = {
  CSR: fs.readFileSync('./SSL.CSR'),
  KEY: fs.readFileSync('./SSL.KEY'),
  passphrase: 'sample'
};

https.createServer(options, (req, res) => {
  res.writeHead(200);
  res.end('hello world\n');
  console.log('66666666')
}).listen(8000);